package com.lm.survey.model;

public class ParticipantRecrod {
    int total;
    int sumStatus;
    int projectId;
    int participantId;
    String name;
    String email;
    public int getTotal() {
        return total;
    }
    public void setTotal(int total) {
        this.total = total;
    }
    public int getSumStatus() {
        return sumStatus;
    }
    public void setSumStatus(int sumStatus) {
        this.sumStatus = sumStatus;
    }
    public int getProjectId() {
        return projectId;
    }
    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }
    public int getParticipantId() {
        return participantId;
    }
    public void setParticipantId(int participantId) {
        this.participantId = participantId;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    
    public int getCompletedStatus(){
         return this.total==this.sumStatus?1:0;
    }
    
    
}
